package cn.zysuyuan.item.mapper;

import cn.zysuyuan.item.entity.Device;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;


/**
 * @author flypig
 * @version 1.0
 * @date 2019/10/27 19:55
 */

// 使用通用mapper
//public interface DeviceMapper extends Mapper<Device> {
//}

// 使用xml配置，自定义sql语句
public interface DeviceMapper {

    List<Device>  selectList(Map<String,Object> map);
    int insert(Device device);
    int delete(String id);
    int update(Device device);

}

